package edu.hubu.devops01demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {

    @ResponseBody
    @GetMapping("/hello")
    public String hello(){
        return "hello devops";
    }

    @ResponseBody
    @GetMapping("/hi")
    public String hi(){
        return "hello 666";
    }
}
